package com.dragon.modules.yuegou.mapper.coupon;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dragon.modules.yuegou.entity.coupon.CouponTemplateRandomEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * 随机券信息 Mapper接口
 *
 * @author pbuilder generated
 * @date 2020-06-29 19:18:21
 * @version 2.0
 */
@Component("coupCouponTemplateRandomMapper")
public interface CouponTemplateRandomMapper extends BaseMapper<CouponTemplateRandomEntity> {

	Integer updateReceive(@Param("id")String id,@Param("randomVal") BigDecimal randomVal, @Param("quantity")Integer quantity);
	
}
